<%= form_for(Settings::General.new,
             url: admin_settings_general_settings_path,
             html: { data: { action: "submit->config#updateConfigurationSettings" } }) do |f| %>
  <details class="crayons-card">
    <summary class="crayons-subtitle-2 p-6">Tags</summary>
    <div class="p-6 pt-0">
      <fieldset class="grid gap-4">
        <div class="crayons-field">
          <%= admin_config_label :sidebar_tags %>
          <%= admin_config_description Constants::Settings::General.details[:sidebar_tags][:description] %>
          <%= f.text_field :sidebar_tags,
                           class: "crayons-textfield",
                           value: Settings::General.sidebar_tags.join(","),
                           placeholder: Constants::Settings::General.details[:sidebar_tags][:placeholder],
                           pattern: "[a-z0-9,]+" %>
        </div>
      </fieldset>
      <%= render "update_setting_button", f: f %>
    </div>
  </details>
<% end %>
